//
//  SucceedTableViewCell.m
//  盘盈贷
//
//  Created by iOS on 15/3/24.
//  Copyright (c) 2015年 Yunpeng Technologies. All rights reserved.
//

#import "SucceedTableViewCell.h"

@implementation SucceedTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameTitle = [[UILabel alloc] init];
        [self.contentView addSubview:self.nameTitle];
        [self.nameTitle release];
        
        self.leixing = [[UILabel alloc] init];
        [self.contentView addSubview:self.leixing];
        [self.leixing release];
        self.leixing1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.leixing1];
        [self.leixing1 release];
        self.qixian = [[UILabel alloc] init];
        [self.contentView addSubview:self.qixian];
        [self.qixian release];
        self.qixian1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.qixian1];
        [self.qixian1 release];
        
        self.lilv = [[UILabel alloc] init];
        [self.contentView addSubview:self.lilv];
        [self.lilv release];
        self.lilv1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.lilv1];
        [self.lilv1 release];
        self.touzijine = [[UILabel alloc] init];
        [self.contentView addSubview:self.touzijine];
        [self.touzijine release];
        self.touzijine1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.touzijine1];
        [self.touzijine1 release];
        self.touziriqi = [[UILabel alloc] init];
        [self.contentView addSubview:self.touziriqi];
        [self.touziriqi release];
        self.touziriqi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.touziriqi1];
        [self.touziriqi1 release];
        self.jixi = [[UILabel alloc] init];
        [self.contentView addSubview:self.jixi];
        [self.jixi release];
        
        self.jixi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.jixi1];
        [self.jixi1 release];
        self.lixi = [[UILabel alloc] init];
        [self.contentView addSubview:self.lixi];
        [self.lixi release];
        self.lixi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.lixi1];
        [self.lixi1 release];
        self.shengyu = [[UILabel alloc] init];
        [self.contentView addSubview:self.shengyu];
        [self.shengyu release];
        self.shengyu1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.shengyu1];
        [self.shengyu1 release];
  
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.nameTitle.frame = CGRectMake(10, 3, 250, 27);
    self.nameTitle.font = [UIFont fontWithName:@"Helvetica-Bold" size:17];
    self.leixing.frame = CGRectMake(13, 35, 60, 20);
    self.leixing.text = @"产品类型";
    self.leixing.font = [UIFont systemFontOfSize:14];
    self.leixing.textColor = [UIColor grayColor];
    self.leixing1.frame = CGRectMake(80, 35, 50, 20);
    self.leixing1.font = [UIFont systemFontOfSize:14];
    self.leixing1.textColor = [UIColor orangeColor];
    self.qixian.frame = CGRectMake(13, 78, 50, 20);
    self.qixian.font = [UIFont systemFontOfSize:14];
    self.qixian.text = @"期限";//利率
    self.qixian.textColor = [UIColor grayColor];
    self.qixian1.font = [UIFont systemFontOfSize:14];
    self.qixian1.frame = CGRectMake(80, 78, 70, 20);
    self.qixian1.textColor = [UIColor orangeColor];
    self.lilv.frame = CGRectMake(13, 55, 50, 20);
    self.lilv.font = [UIFont systemFontOfSize:14];
    self.lilv.textColor = [UIColor grayColor];
    self.lilv.text = @"利率";//期限
    self.lilv1.font = [UIFont systemFontOfSize:14];
    self.lilv1.frame = CGRectMake(80, 55, 70, 20);
    self.lilv1.textColor = [UIColor orangeColor];
    
    
    self.lixi.frame = CGRectMake(160, 55, 100, 20);
    self.lixi.font = [UIFont systemFontOfSize:14];
    self.lixi.textColor = [UIColor grayColor];
    self.lixi.text = @"利息";//利息
    self.lixi1.font = [UIFont systemFontOfSize:14];
    self.lixi1.frame = CGRectMake(225, 55, 110, 20);
    self.lixi1.textColor = [UIColor orangeColor];

    self.shengyu.frame = CGRectMake(160, 78, 60, 20);
    self.shengyu.font = [UIFont systemFontOfSize:14];
    self.shengyu.textColor = [UIColor grayColor];
    self.shengyu.text = @"剩余天数";//剩余天数
    self.shengyu1.font = [UIFont systemFontOfSize:14];
    self.shengyu1.frame = CGRectMake(225, 78, 110, 20);
    self.shengyu1.textColor = [UIColor orangeColor];
    
    
    self.touzijine.frame = CGRectMake(160, 35, 90, 20);
    self.touzijine.font = [UIFont systemFontOfSize:14];
    self.touzijine.textColor = [UIColor grayColor];
    self.touzijine.text = @"投资金额";
    self.touzijine1.font = [UIFont systemFontOfSize:14];
    self.touzijine1.frame = CGRectMake(225, 35, 110, 20);
    self.touzijine1.textColor = [UIColor orangeColor];
    
    self.touziriqi.frame = CGRectMake(13, 100, 60, 20);
    self.touziriqi.font = [UIFont systemFontOfSize:14];
    self.touziriqi.textColor = [UIColor grayColor];
    self.touziriqi.text = @"投资日期";
    self.touziriqi1.font = [UIFont systemFontOfSize:14];
    self.touziriqi1.frame = CGRectMake(80, 100, 110, 20);
    self.touziriqi1.textColor = [UIColor orangeColor];
    
    self.jixi.frame = CGRectMake(160, 100, 90, 20);
    self.jixi.font = [UIFont systemFontOfSize:14];
    self.jixi.textColor = [UIColor grayColor];
    self.jixi.text = @"计息日期";
    self.jixi1.font = [UIFont systemFontOfSize:14];
    self.jixi1.frame = CGRectMake(225, 100, 110, 20);
    self.jixi1.textColor = [UIColor orangeColor];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
